<template>
  <div class="mine">
    <div class="top_msg"></div>
    <div class="header_box">
      <div class="header_img">
        <img src="../../assets/images/My.jpg" alt="">
      </div>
      <div class="user_name">
        <span>一只狐仙儿</span>
      </div>
      <div class="basic_info">
        <div class="info_box">
          <h3>10</h3>
          <p>我的练习</p>
        </div>
        <div class="info_box">
          <h3>05</h3>
          <p>我的组件</p>
        </div>
        <div class="info_box">
          <h3>08</h3>
          <p>我的语言</p>
        </div>
        <div class="info_box">
          <h3>05</h3>
          <p>我的晒晒</p>
        </div>
      </div>
    </div>
    <div class="list_lie">
      <div class="lie_box">
        <van-cell-group :border="false">
          <van-cell icon="fire-o" color="#d86161" title="单元格" value="内容" size="large" :is-link="IsLink" />
          <van-cell title="单元格" value="内容" size="large" :is-link="IsLink"/>
        </van-cell-group>
      </div>
    </div>
    <m-footer></m-footer>
  </div>
</template>

<script>
  import mHeader from '../../components/header'
  import mFooter from '../../components/Footer'

  export default {
    name: 'mine',
    data(){
      return{
        IsLink: true
      }
    },
    components: {
      mHeader,
      mFooter
    }
  }
</script>


<style lang="less">
  .mine {
    width: 100%;
    .top_msg {
      width: 100%;
      height: 300px;
      background: url("../../assets/images/live_player_bg.jpg");
      background-size: 100% auto;
      position: relative;
    }
    .header_box{
      width: 90%;
      background: #ffffff;
      border-radius: 10px;
      position: absolute;
      left: 5%;
      top: 16%;
      box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.16);
      .header_img{
        width: 150px;
        height: 150px;
        border-radius: 50%;
        background: #ffffff;
        position: fixed;
        left: 36%;
        top: 60px;
        img{
          width: 100%;
          height: 100%;
          border-radius: 50%;
        }
      }
      .user_name{
        width: 100%;
        text-align: center;
        margin-top: 60px;
        span{
          font-size: 26px;
          color: #333333;
        }
      }
      .basic_info{
        width: 100%;
        display: inline-flex;
        align-items: center;
        padding: 10px;
         .info_box{
          width: 25%;
           border-right: 1px solid #cccccc;
           display: grid;
           justify-content: center;
           text-align: center;
           h3{
             font-size: 30px;
             font-weight: bolder;
           }
           p{
             font-size: 20px;
             color: #333333;
           }
         }
        .info_box:last-child{
          border-right: none;
        }

      }
    }
    .list_lie{
      width: 100%;
      padding: 20px;
      margin-top: 15%;
      .lie_box{
        background: white;
        padding: 10px;
        box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.16);
        border-radius: 10px;
      }
    }
  }
</style>
